package sy.model;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Testsuite entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "testsuite", catalog = "sy")
public class Testsuite implements java.io.Serializable {

	// Fields

	private String id;
	private String prjid;
	private String name;
	private String path;
	private String pid;
	private String description;
	private Timestamp createdatetime;
	private Timestamp modifydatetime;

	// Constructors

	/** default constructor */
	public Testsuite() {
	}

	/** minimal constructor */
	public Testsuite(String id, String prjid, String name) {
		this.id = id;
		this.prjid = prjid;
		this.name = name;
	}

	/** full constructor */
	public Testsuite(String id, String prjid, String name, String path,
			String pid, String description, Timestamp createdatetime,
			Timestamp modifydatetime) {
		this.id = id;
		this.prjid = prjid;
		this.name = name;
		this.path = path;
		this.pid = pid;
		this.description = description;
		this.createdatetime = createdatetime;
		this.modifydatetime = modifydatetime;
	}

	// Property accessors
	@Id
	@Column(name = "ID", unique = true, nullable = false, length = 36)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "PRJID", nullable = false, length = 36)
	public String getPrjid() {
		return this.prjid;
	}

	public void setPrjid(String prjid) {
		this.prjid = prjid;
	}

	@Column(name = "NAME", nullable = false, length = 100)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "PATH", length = 50)
	public String getPath() {
		return this.path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	@Column(name = "PID", length = 36)
	public String getPid() {
		return this.pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	@Column(name = "DESCRIPTION", length = 500)
	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Column(name = "CREATEDATETIME", length = 19)
	public Timestamp getCreatedatetime() {
		return this.createdatetime;
	}

	public void setCreatedatetime(Timestamp createdatetime) {
		this.createdatetime = createdatetime;
	}

	@Column(name = "MODIFYDATETIME", length = 19)
	public Timestamp getModifydatetime() {
		return this.modifydatetime;
	}

	public void setModifydatetime(Timestamp modifydatetime) {
		this.modifydatetime = modifydatetime;
	}

}